import request from '@/utils/request'

// 处方产品输入联想列表
export function productSearch(data) {
    return request({
        url: '/admin/product/search/self-prefix',
        method: 'post',
        data
    })
}

// 处方产品输入联想列表
export function productDetail(params) {
    return request({
        url: '/admin/product/detail/by-default-id',
        method: 'get',
        params
    })
}